{% extends "admin/base_site.html" %}
{% load i18n admin_static static  %}

{% block extrastyle %}{{ block.super }}
    <script src="{% static 'js/jquery-3.2.0.min.js' %}"></script>
    <script src="{% static 'js/bootstrap.min.js' %}"></script>
    <script src="{% static 'js/index_base.js' %}"></script>
    <link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
    <link href="{% static 'css/form_base.css' %}" rel="stylesheet">
    <link href="{% static 'css/index_base.css' %}" rel="stylesheet"/>
    {% block javascript %}
    {% endblock %}
{% endblock %}


{% block coltype %}colMS{% endblock %}

{% block bodyclass %}dashboard{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block content %}
    <hr/>
    <div class="row" >
        <div class="col-md-3">
            <div class="panel panel-default">
                <div class="panel-heading" ><h3 class="panel-title">Home</h3></div>
                <div class="list-group">
                    <a href="/admin/" class="list-group-item{% if request.path == '/admin/' %} active{% endif %}">
                        Data List
                    </a><br>
                    <a href="{% url 'dict-upload-file' %}" class="list-group-item{% if request.path == '/dict/upload/file/' %} active{% endif %}">
                        Upload Dict
                    </a><br>
                    <a href="{% url 'user-upload-file' %}" class="list-group-item{% if request.path == '/user/upload/file/' %} active{% endif %}">
                        Upload File
                    </a><br>
                    <a href="{% url 'user-query-file' %}" class="list-group-item{% if request.path == '/user/query/file/' %} active{% endif %}">
                        Query File
                    </a><br>
                    <a href="{% url 'session-upload-file' %}" class="list-group-item{% if request.path == '/session/upload/file/' %} active{% endif %}">
                        Session File
                    </a><br>
                </div>
            </div>
        </div>
        <div class="col-md-9">
        {% if request.path == '/admin/' %}
            {% include "admin/app_list.html" %}
        {% else %}
            {% if not form.tpl.yes_no_required %}
                {% block data_content %}
                {% endblock %}
            {% endif %}
        {% endif %}
        </div>
    </div>
{% endblock %}




